// 底部 tabbar 的选项类型
// 定义一个数组，循环生成底部导航栏
// 定义一个接口限制
export interface MyBarItem {
  id: number,
  to: string,
  icon: string,
  title?: string
}

// 轮播图每一项的接口
export interface MyBannerItem {
  alt?: String,
  readonly bannerid: string,
  falg?: boolean,
  img: string
}

// 秒杀商品的每一项的接口
type MyIsSale = 0 | 1
export interface MyHotItem {
  readonly proid: string,
  img1: string,
  sales: string,
  proname: string,
  issale: MyIsSale,
  originprice: number,
  discount: number,
  category: string,
  brand: string
}

// 热门搜索商品的接口
export interface MyHotSearchItem{
  readonly wordid: string,
  num: string,
  keyword?: string
}